package com.zsz.springcloud.service;


import org.springframework.stereotype.Component;

@Component//组件，让springBoot容器扫描到
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {

        return "*******PaymentFallbackService fall back-paymentInfo_OK,o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "*******PaymentFallbackService fall back-paymentInfo_TimeOut,o(╥﹏╥)o";
    }
}
